package com.mycompany.crm.service;

import com.mycompany.crm.base.BaseMapper;
import com.mycompany.crm.query.CustomerLinkmanQuery;
import com.mycompany.crm.vo.CustomerLinkman;

import java.util.Map;

/**
 * @author jy
 * @version 1.0
 * @date 2022/5/2 10:41
 */
public interface CustomerLinkmanService extends BaseMapper<CustomerLinkman,Integer> {
    /**
     * 多条件分页查询联系人
     * @param customerLinkmanQuery
     * @return
     */
    Map<String, Object> queryCustomerLinkmanByParams(CustomerLinkmanQuery customerLinkmanQuery);

    /**
     * 添加联系人
     * @param customerLinkman
     */
    void addCustomerContact(CustomerLinkman customerLinkman);

    /**
     * 更新联系人
     * @param customerLinkman
     */
    void updateCustomerContact(CustomerLinkman customerLinkman);

    /**
     * 删除联系人
     * @param id
     */
    void deleteCustomerLinkman(Integer id);



}
